/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import java.util.List;
import model.Endereco;

/**
 *
 * @author Tadeu Augusto
 */
public interface EnderecoDAO {
    
    void atualizar(Endereco endereco)throws PortalDAOException;
    
    void excluir(Endereco endereco)throws PortalDAOException;
    
    void salvar(Endereco endereco)throws PortalDAOException;
    
    List<Endereco> todosEnderecos()throws PortalDAOException;
    
    Endereco procurarEndereco(String cep)throws PortalDAOException;
    
    Endereco procurarEndereco(String setor, String rua)throws PortalDAOException;
}
